<template>
  <a-layout-footer class="footer">
    <div class="footer-content">
      <!-- 主内容区 -->
      <div class="footer-main">
        <a
          href="https://gitee.com/hanbinhuang"
          target="_blank"
          rel="noopener noreferrer"
          class="author-link"
        >
          ZeroAI
        </a>
        <p class="subtext">一键生成应用代码，高效开发不费力</p>
      </div>
    </div>
  </a-layout-footer>
</template>

<script setup lang="ts"></script>

<style scoped>
.footer {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 10px 24px 20px;
  border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 500;
  color: #1890ff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 悬停效果 */
.author-link:hover {
  background: #1890ff;
  color: white;
  transform: translateY(-2px);
}

/* 辅助文字 */
.subtext {
  margin: 8px 0 0;
  color: #999;
  font-size: 12px;
  letter-spacing: 0.3px;
}
</style>
